#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include "form.h"
#include<QDesktopWidget>
#include<QPainter>
#include <QMainWindow>
#include <QMessageBox>
#include <QDialog>
#include <QWidget>
#include <QKeyEvent>
#include <QLabel>
#include <QFile>
#include <QTextStream>
#include <QDebug>
namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();
    //void keyPressEvent(QKeyEvent *event);
signals:
    void send_info(QString s);
    //void triggerSignal();
public slots:
    void recv_msg(QString s);
private slots:
    void on_pushButton_2_clicked();
    void on_pushButton_clicked();


    void on_pushButton_3_clicked();

private:
    Ui::MainWindow *ui;
    form fr;

};

#endif // MAINWINDOW_H
